rack one's head

绞尽脑汁;(为某事)绞尽脑汁,苦思冥想